<p>
<?php 
	$template = array(
						'table_open'	=> '<table id="table_application_list" class="table">',
						'table_close' 	=> '</table>'
				);

	$this->table->set_template($template);
	
	$list = array();
	//print_r($unit_by_groups);
	//$list = $unit_by_groups;
	
	foreach($unit_by_groups as $key => $value) {
			$list[$key] = "<h3>$key</h3>";
			$list[$key] .= "<ul>";
			
			
			foreach ($value as $subkey => $subvalue) {
				$list[$key] .= "<li>".$this->common->anchor(strtolower($subkey), $subvalue)."</li>";
			}			
			
			$list[$key] .= "</ul>";
	
	}
	
	$new_list = $this->table->make_columns($list, 2);
	echo $this->table->generate($new_list);


?>
</p>